package com.dzt.androidframework.database.addedittask;

import com.dzt.androidframework.mvp.BasePresenter;
import com.dzt.androidframework.mvp.BaseView;

/**
 * Created by M02323 on 2017/6/12.
 */

public class AddEditContract {
	interface View extends BaseView<Presenter> {
		void showEmptyTaskError();
		void showTasksList();
		void setTitle(String title);
		void setDescription(String description);
		boolean isActive();
	}

	interface Presenter extends BasePresenter {
		void saveTask(String title, String description);
		void populateTask();
		boolean isDataMissing();
	}
}
